package com.hente.common;

import java.io.IOException;

public class Test {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		String[] ss = BaiduAPIConverter.getInstance().convertLL2MC(116.404, 39.915,"");
		String url = "http://api.map.baidu.com/?qt=rgc&x=" + ss[0]+ "&y=" + ss[1] + "&dis_poi=100&poi_num=10&res=api";
		//System.out.println(ss[0]);
		//System.out.println(ss[1]);
		System.out.println(BaiduAPIConverter.getInstance().postUrl(url));
	}

}
